<!DOCTYPE html>
<html>
<head>
{{include file="public/header.html"}}
</head>
<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
    <div id="wrapper">
        {{include file="public/navbar.html"}}
        <!--右侧部分开始-->
        <div id="page-wrapper" class="gray-bg dashbard-1">
            {{include file="public/menu.html"}}
            <br>
            <div class="row" id="content-main">
                <div class="col-sm-11">
                    <div class="col-sm-3">
                        <div class="ibox float-e-margins">
                            <div class="ibox-title" style="border-color:#1ab394">
                                <span class="label label-primary pull-right">今天</span>
                                <h5>今日订单量</h5>
                            </div>
                            <div class="ibox-content">
                                <h1 class="no-margins">0 单</h1>
                                <div class="stat-percent font-bold text-navy"></div>
                                <small>{{date('d')}}日</small>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="ibox float-e-margins">
                            <div class="ibox-title">
                                <span class="label label-success pull-right">至今</span>
                                <h5>待发货量</h5>
                            </div>
                            <div class="ibox-content">
                                <h1 class="no-margins">0 单</h1>
                                <div class="stat-percent font-bold text-success"></div>
                                <small>至今</small>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="ibox float-e-margins">
                            <div class="ibox-title">
                                <span class="label label-success pull-right">至今</span>
                                <h5>待发货量</h5>
                            </div>
                            <div class="ibox-content">
                                <h1 class="no-margins">0 单</h1>
                                <div class="stat-percent font-bold text-success"></div>
                                <small>至今</small>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="ibox float-e-margins">
                            <div class="ibox-title">
                                <span class="label label-success pull-right">至今</span>
                                <h5>待发货量</h5>
                            </div>
                            <div class="ibox-content">
                                <h1 class="no-margins">0 单</h1>
                                <div class="stat-percent font-bold text-success"></div>
                                <small>至今</small>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="col-sm-11">
                    <div class="col-sm-6">
                        <div class="ibox float-e-margins">
                            <div class="ibox-title">
                                <h5>最近10笔订单</h5>
                                <div class="ibox-tools">
                                    <small class="text-navy font-bold">总订单数量：0 笔</small>
                                </div>
                            </div>
                            <div class="ibox-content" style="min-height: 283px">
                                <table class="table table-hover no-margins">
                                    <thead>
                                        <tr>
                                            <th>订单号</th>
                                            <th>收件人</th>
                                            <th>手机号</th>
                                            <th>地址</th>
                                            <th> </th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr class="no-records-found t-align">
                                            <td colspan="4">没有找到匹配的记录</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="ibox float-e-margins">
                            <div class="ibox-title">
                                <h5>最近上架产品</h5>
                                <div class="ibox-tools">
                                    <small class="text-navy font-bold">总数量：0 件</small>
                                </div>
                            </div>
                            <div class="ibox-content" style="min-height: 283px">
                                <table class="table table-hover no-margins">
                                    <thead>
                                        <tr>
                                            <th>编号</th>
                                            <th>名称</th>
                                            <th>库存</th>
                                            <th>状态</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        {{if !empty($info['pres_order_list'])}}
                                        {{foreach $info['pres_order_list'] as $k=>$v}}
                                        <tr>
                                            <td>{{$v['cf_code']}}</td>
                                            <td>{{$v['user_name']}}</td>
                                            <td>{{$v['cf_status_v']}}</td>
                                            <td>{{$v['mask']}}</td>
                                        </tr>
                                        {{/foreach}}
                                        {{else}}
                                        <tr class="no-records-found t-align">
                                            <td colspan="4">没有找到匹配的记录</td>
                                        </tr>
                                        {{/if}}
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            {{include file="public/footer.html"}}
        </div>
        <!--右侧部分结束-->
    </div>
</body>
</html>
